﻿using System.Configuration.Provider;

namespace NCMIS.Provider
{
    /// <summary>
    /// Represents a collection of Navigation Provider objects that inherit from <see cref="NCMIS.Provider.NavigationProviderBase"/>.
    /// </summary>
    public class NavigationProviderCollection : ProviderCollection
    {
        /// <summary>
        /// Creates a new instance of an Navigation Provider object that inherits from <see cref="NCMIS.Provider.NavigationProviderBase"/>.
        /// </summary>
        /// <param name="name">The name of the provider to instantiate.</param>
        /// <returns>An instance of an Navigation Provider object that inherits from <see cref="NCMIS.Provider.NavigationProviderBase"/>.</returns>
        new public NavigationProviderBase this[string name]
        {
            get { return (NavigationProviderBase)base[name]; }
        }
    }
}